class Message1<T> {
    private T message ;
    public T getMessage() {
        return message;
    }
    public void setMessage(T message) {
        this.message = message;
    }
}
public class TestDemo {
    public static void main(String[] args) {
        Message1<Integer> message = new Message1() ;
        message.setMessage(111);
        fun(message);
    }
    public static void fun(Message1<?> temp){
        System.out.println(temp.getMessage());
    }
}